package com.mc.music_web.services.impl;

import com.mc.music_web.entity.MVType;
import com.mc.music_web.mapper.MVTypeMapper;
import com.mc.music_web.services.MVTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Service
@Transactional
public class MVTypeServiceImpl implements MVTypeService {
    @Autowired
    private MVTypeMapper mvTypeMapper;
    public List<MVType> sellectMVType() {
        return mvTypeMapper.sellectMVType();
    }

    public int delterMVType(Integer mvTypeId) {
        return mvTypeMapper.delterMVType(mvTypeId);
    }

    public int insertMVType(MVType mvType) {
        return mvTypeMapper.insertMVType(mvType);
    }
}
